﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="PopupChooseAllergies.aspx.cs" Inherits="PopupChooseAllergies" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <form runat="server">
        <div runat="server">
            <asp:ListBox ID="ExtingAllergies" runat="server" SelectionMode="Multiple" Width="45%" Rows="15">
                <%--<LayoutTemplate>
                    <table runat="server" style="width:50%; text-align:center; border:1px solid black;">
                        <tr id="ItemPlaceholder" runat="server"> 

                        </tr>
                    </table>
                </LayoutTemplate>
                <ItemTemplate>
                    <tr  <%--style="border:1px solid black;">
                       <%-- <td>
                            <asp:Label   
                            ID="Label1"  
                            runat="server"  
                            Text='<%# Eval("name")%>'  
                            >  
                        </asp:Label> 
                        </td>
                    </tr>--%>
                <%--</ItemTemplate>--%>
            </asp:ListBox>
            <asp:ListBox ID="ChoosenAllergies" runat="server" SelectionMode="Multiple" Width="45%" Rows="15">

            </asp:ListBox>
        </div>
        <div>
            <asp:Button ID="MoveLeft" Text="<<" runat="server" Width="45%" OnClick="MoveLeft_Click"/>
            <asp:Button ID="MoveRight" Text=">>" runat="server" Width="45%" OnClick="MoveRight_Click"/>
        </div>
        <div>
            <asp:Button ID="Done" Text="OK" runat="server" Width="90%" OnClick="Done_Click"/>
        </div>
    </form>
</asp:Content>

